//
//  UserStore.swift
//  SwiftUiBaseStudy
//
//  Created by Daniel on 2024/1/6.
//

import SwiftUI

class UserStore: ObservableObject {
    @Published var isLogged = UserDefaults.standard.bool(forKey: "isLogged"){
        didSet{
            UserDefaults.standard.set(self.isLogged, forKey: "isLogged")
        }
    }
    @Published var showLogin = false
}
